home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20031118-20041115
/
000227_Petri_member@newsguy.com_Tue Apr 20 10:45:50 2004.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn
From: Petri <Petri_member@newsguy.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Running kermit from within glftpd
Date: 20 Apr 2004 07:02:27 -0700
Organization: Newsguy News Service [http://newsguy.com]
Lines: 55
Message-ID: <c63ahj022do@drn.newsguy.com>
References: <c61fv402ovm@drn.newsguy.com> <m1y8or8iss.gnus@usa.net>
NNTP-Posting-Host: p-387.newsdawg.com
X-Newsreader: Direct Read News 4.20
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14944
In article <m1y8or8iss.gnus@usa.net>, those who know me have no need of my name
says...
>> glftpd changes root into its' own folder, which means I have to copy
>> some dependencies.
> use ldd on kermit, then on each of the files it names, and continue
> to do so until you've tested everything that would be used.
> copy all those files into your jail.
There is no easy way of compiling a static Kermit, or getting rid of Kerberos,
so I am stuck with trying to copy all necessary dependencies.
I have in fact copied all libraries that are listed by 'ldd kermit', one of
which is /usr/kerberos/lib/libkrb4.so.2.
I have copied the whole directories of /usr/kerberos and /lib/tls, the rest of
the files I copied individually, when they didn't already exist in the target
directory.
Yet still Kermit complains about that same file:
---8<---
/glftpd>chroot /glftpd bin/kermit
bin/kermit: error while loading shared libraries: libkrb4.so.2: cannot open
shared object file: No such file or directory
---8<---
Is there something else I must do?
I have looked at the environment variables with set and setenv, to see if there
is something there that needs changing, but there was nothing I could spot.
This is the output of my 'ldd kermit':
---8<---
libm.so.6 => /lib/tls/libm.so.6 (0x40024000)
libncurses.so.5 => /usr/lib/libncurses.so.5 (0x40047000)
libtermcap.so.2 => /lib/libtermcap.so.2 (0x40086000)
libkrb4.so.2 => /usr/kerberos/lib/libkrb4.so.2 (0x4008a000)
libssl.so.4 => /lib/libssl.so.4 (0x4009f000)
libcrypto.so.4 => /lib/libcrypto.so.4 (0x400d4000)
libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2 (0x401c5000)
libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x401d9000)
libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x40237000)
libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x40239000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40249000)
libresolv.so.2 => /lib/libresolv.so.2 (0x40276000)
libpam.so.0 => /lib/libpam.so.0 (0x40288000)
libdl.so.2 => /lib/libdl.so.2 (0x40291000)
libz.so.1 => /usr/lib/libz.so.1 (0x40295000)
libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
libdes425.so.3 => /usr/kerberos/lib/libdes425.so.3 (0x402a3000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
---8<---
I am not so experienced in Linux matters, so if you have any tips, I'd really
appreciate it. :)
Petri